package me.zhanshi123.vipsystem.listener;

import cn.nukkit.event.EventHandler;
import cn.nukkit.event.Listener;
import cn.nukkit.event.player.PlayerJoinEvent;
import me.zhanshi123.vipsystem.Main;
import me.zhanshi123.vipsystem.task.CheckVipTask;

public class PlayerListener implements Listener {
    @EventHandler
    public void onJoin(PlayerJoinEvent e) {
        Main.getInstance().getServer().getScheduler().scheduleTask(new CheckVipTask(e.getPlayer()));
    }
}
